 <style>
     .ttl{width:70px;text-align:right;}
     .pop_cont_input{width:100%;}
     .pop_cont_input ul {width:100%;}
     .pop_cont_input ul li {height:35px;}
     .pop_cont_input{line-height:30px;}
     .pop_cont_input input{pading:0px 5px;}
     .pop_cont_input select{height:28px;}
     .pop_cont .pop_cont_input li{margin: 0px 0px;}
     .pop_cont .pop_cont_input li .textbox{border:1px #d2d2d2 solid; width:120px; display:inline-block;}

     .pop_cont {
         background: white;
         min-width: 300px;
         height: auto;
         overflow: hidden;
         position: absolute;
         top: 20%;
         left: 50%;
         margin-left: -25%;
         border-radius: 5px 5px 0 0;
     }
     .pop_cont .btm_btn {padding:0px 0px;}
     .blank{width:100%;height:10px;overflow:hidden;}
.bixuan{color:red;}
 </style>
 <!--引入JS-->
<script type="text/javascript" src="/static/admin/js/ajaxfileupload.js?t=1"></script>
 <link rel="stylesheet" type="text/css" href="/static/My97DatePicker/skin/WdatePicker.css" />
<script charset="utf-8" src="/static/My97DatePicker/WdatePicker.js"></script>
 <div class="pop_cont" style="width:50%;">
       <input type="hidden" value="<?php echo $id; ?>" id="editId" />
       <!--title-->
       <h3><?php echo $title;?><span class="falseBtn" style="color:red;float:right;font-size:18px;cursor:pointer;">X</span></h3>
       <!--content-->
        <form autocomplete="off" action="#" id="myform"></form>
       <div class="pop_cont_input">
            <ul>

                <li>
                    <span class="ttl">订单号</span>
                    <?php echo $info['order_sn']; ?>
                </li>
                <li>
                    <span class="ttl">订单金额</span>
                    <?php echo $info['money']; ?>
                </li>
                <li>
                    <span class="ttl">退款金额</span>
                    <input type="text" name="data[tk_money]" id="tk_money" value="<?php echo $info['money'];?>" placeholder="退款金额" class="textbox" style="padding: 0 5px;font-size: 12px;border: 1px #139667 solid;vertical-align: middle;width:120px;"  />

                </li>
                 <li>
                    <div class="btm_btn">
                    <input type="button" value="确认" class="input_btn trueBtn"/>
                    <input type="button" value="关闭" class="input_btn falseBtn"/>
                    </div>
                 </li>

            </ul>

       </div>
     <div class="blank"></div>
       <!--bottom:operate->button-->
      
      </div>
      
      <script>

      $(function(){
     	 
	       $(".trueBtn").unbind().bind("click",function(){

               var that =this;
               var url="/admin/hosporder/tk";
               var generaData=$("[name^='data']");
               var id="<?php echo $id; ?>";
               var param={
                   data:{},
                   id:id,
                   sys_opt:'addData'//后台判断编辑操作
               };
               getFormData(generaData,param.data);
			   AjaxRequest(url,param,function(data){
  			   if(data.err==0)
  			   {
  				   SuccessTiShi("操作成功");
  				   $(".pop_bg").fadeOut();
  				   $(".pop_bg").html('');
  				   myResearch();
  			   }
  			   else
  			   {
  				   ErrTiShi("操作失败");
  			   }
  		   	});
			 
		  });
		   //弹出：取消或关闭按钮
		   $(".falseBtn").unbind().bind("click",function(){
		
			 $(".pop_bg").fadeOut();
		   });
		   

			  
 	});
      </script>